﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;

namespace Liang.DataBase.Model.Entity
{
    /// <summary>
    /// 权限
    /// </summary>
    public class sys_role : DbBase
    {
        /// <summary>
        /// 主键
        /// </summary>
        public Guid roleId { get; set; }

        /// <summary>
        /// 权限名称
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 权限描述
        /// </summary>
        public string des { get; set; }

        /// <summary>
        /// 权限集合
        /// </summary>
        public virtual ICollection<sys_app> apps { get; set; }
    }
}
